import { createApp } from "vue";
import App from "./App.vue";
import router from "./router/index";
import { createPinia } from "pinia";
import store from "./store/index"
// 环境变量
console.log(import.meta.env);
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App);
app.use(router);
app.use(store);
import 'virtual:windi.css'
import './untils/permission'
app.mount("#app");
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
